Skip to content

LAB-2216 Add template publishers management endpoints.#173

Open
ferrywlto wants to merge 2 commits into
mainfrom
LAB-2216-create-the-open-api-spec-for-the-new-publishers-management-endpoints
Open

LAB-2216 Add template publishers management endpoints.#173
ferrywlto wants to merge 2 commits into
mainfrom
LAB-2216-create-the-open-api-spec-for-the-new-publishers-management-endpoints

Conversation

@ferrywlto
Copy link
Copy Markdown
Contributor

@ferrywlto ferrywlto commented May 15, 2026

This pull request adds support for managing Cloud Matrix Template Publishers in the API. The main changes include introducing a new schema for template publishers and implementing new GET and PUT endpoints to retrieve and update the list of publishers.

New Cloud Matrix Template Publisher management:

  • Added a new CloudMatrix.TemplatePublisher schema to the OpenAPI spec, which defines the structure for template publishers, including fields such as name, isActive, and optional metadata.
  • Introduced the /Api/CloudMatrix/TemplatePublishers endpoint with:
    • A GET method to retrieve all template publishers, requiring the CloudMatrix.Read scope.
    • A PUT method to upload and replace the full list of template publishers, restricted to certain tenants and requiring the CloudMatrix.ReadWrite.All scope.
  • Included detailed examples and response schemas for both endpoints to clarify usage and expected responses.

@ferrywlto ferrywlto marked this pull request as ready for review May 15, 2026 12:36
Copilot AI review requested due to automatic review settings May 15, 2026 12:36
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the Data Gateway OpenAPI spec with Cloud Matrix Template Publisher management support.

Changes:

  • Adds a CloudMatrix.TemplatePublisher schema.
  • Adds GET /Api/CloudMatrix/TemplatePublishers for retrieving publishers.
  • Adds PUT /Api/CloudMatrix/TemplatePublishers for replacing the publisher list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread specs/Data-Gateway.json
Comment thread specs/Data-Gateway.json Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants